home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / makeflag.ami < prev    next >
Encoding:
Text File  |  1993-12-30  |  2.1 KB  |  81 lines

  1. #
  2. # The XXX_DIR variables below MUST have ABSOLUTE path. Since this file
  3. # is sourced from several directories relative path specification will
  4. # be simple wrong.
  5. #
  6.  
  7. SRC_DIR = Boot:Home/T/Irit
  8. #
  9. # All libraries created will be installed into the LIB_DIR directory.
  10. #
  11. LIB_DIR = $(SRC_DIR)/lib
  12.  
  13. #
  14. # All includes files associated with the installed libraries will be
  15. # installed into the INC_DIR directory.
  16. #
  17. INC_DIR = $(SRC_DIR)/inc
  18.  
  19. #
  20. # All binaries created will be installed into the BIN_DIR directory.
  21. #
  22. BIN_DIR = $(SRC_DIR)/bin
  23.  
  24. #
  25. # Uncomment the correct set of variables to be used or modify it for
  26. # your system.
  27. #
  28. # -D flags:
  29. #
  30. # -D__GL__ - if your system supports gl graphics library (SGI 4d & IBM R6000).
  31. #
  32. # -D__X11__ - if your system supports X11. Only one of __GL__ or __X11__ should
  33. #    be used.
  34. #
  35. #  Emulation to the following function are available by defining the
  36. #  following. Look at misc_lib/xgeneral.c/h for implementation.
  37. # -DGETCWD - if getcwd is not defined in this system.
  38. # -DSTRSTR - if strstr is not defined in this system.
  39. # -DSTRDUP - if strdup is not defined in this system.
  40. # -DSTRICMP - if stricmp and strincmp are not defined in this system.
  41. #
  42. # -DTIMES - if times is defined in your system, otherwise uses time.
  43. #
  44. # -DRAND - if the (s)rand random number generator exists.
  45. # -DRAND48 - ?rand48 random number generators exists.
  46. #    If non of RAND or RAND48 are defined, (s)random is used.
  47. #
  48. # -DNO_VOID_PTR - if your C compiler does not support (void *).
  49. #
  50. # -DUSE_VARARGS - if your system does not have stdarg.h and have the old
  51. #    varargs.h.
  52. #
  53. # -DNO_CONCAT_STR - if 'char *p = "This is" "one string";' is illegal.
  54. #
  55. # -DGRAPDRVS - any combination of of 'amidrvs', 'nuldrvs'.
  56. #
  57. # Other, possibly useful defines (for c code development):
  58. #
  59. # -DDEBUG - for some debugging functions in the code (that can be invoked
  60. #        from a debugger).
  61. #
  62.  
  63. #
  64. # Flags for Amiga using gcc
  65. #
  66. CC = gcc
  67. DFLAGS = -Dmain=mymain -DTIMES
  68. CFLAGS = $(DFLAGS) -m68040 -m68881
  69. MORELIBS = $(LIB_DIR)/libamg.a
  70. GRAPDRVS = nuldrvs amidrvs
  71.  
  72. #
  73. # Default rule for compilation.
  74. #
  75. .c.o:
  76.     $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
  77.  
  78. #
  79. # All libraries.
  80. LIBS = -L$(LIB_DIR) -lgeom -lprsr -lcagd -lmisc #-lgif
  81.